/* 
 * crc32_sb.h
 * Created on December 9, 2005; 8:23 PM
 * by vramadurai
 */

#ifndef _CRC32_SB_H_
#define _CRC32_SB_H_

#define     WLAN_CRC_TAB            16

hs_uint32_t wlan_crc(
                        hs_uint32_t *tab, 
                        hs_uint32_t crc, 
                        hs_uint8_t *data, 
                        hs_int32_t n
                    );

void copy_crctable(
                    hs_uint32_t *crctab
                   );

                    
hs_uint32_t
wlan_tx_calc_crc(
                    int len,
                    hs_uint8_t *data,
                    hs_uint32_t *crctab
                );

#endif
